package 引用;

/**
 * @author:谢君臣
 * @Date:2021/10/2-22:52
 * @version:1.0
 * @function:
 */
public class Source {
    int value = 1;

    @Override
    protected void finalize() throws Throwable {
        super.finalize();
        System.out.println(Thread.currentThread().getName()+":对象被回收了");
    }
}
